Replication files for Michael Tomz, Jessica L.P. Weeks, and Kirk Bansak, �How membership in the 
North Atlantic Treaty Organization transforms public support for war,� PNAS Nexus 2(7): 2023.
Version: July 15, 2023

To reproduce all analyses for the published article and the online appendix

  Download the following two files to a folder on your computer: TomzWeeksBansak-NATO-PNASNexus2023-Files 
     and TomzWeeksBansak-NATO-PNASNexus2023.do.
  Use Stata Version 17 or higher to run TomzWeeksBansak-NATO-PNNASNexus2023.do.
  This do-file will unzip TomzWeeksBansak-NATO-PNASNexus2023-Files and replicate the analyses.

To view all output without re-running the code

  Download TomzWeeksBansak-NATO-PNASNexus2023-Files, and rename it to TomzWeeksBansak-NATO-PNASNexus2023-Files.zip
  Unzip TomzWeeksBansak-NATO-PNASNexus2023-Files.zip
  Log files and figures subfolder labeled "Output."
